From: Debian Qt/KDE Maintainers Date: Sat, 15 Nov 2025 18:26:40 +0000 (+0100) Subject: cross X-Git-Tag: archive/raspbian/6.20.0-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=5486a7205f17616ccb54bec5e2d59171bb7b805c;p=kf6-knewstuff.git cross Gbp-Pq: Name cross.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fe3ad14..d452fd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,12 @@ set_package_properties(KF6Syndication PROPERTIES TYPE OPTIONAL ) -cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF) +if (CMAKE_CROSSCOMPILING) + set(BUILD_DESIGNERPLUGIN_DEFAULT OFF) +else() + set(BUILD_DESIGNERPLUGIN_DEFAULT ON) +endif() +option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ${BUILD_DESIGNERPLUGIN_DEFAULT}) add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")